home *** CD-ROM | disk | FTP | other *** search
/ Aminet 12 / Aminet 12 (1996)(GTI - Schatztruhe)[!][Jun 1996].iso / Aminet / dev / e / eiffel.lha / flc / docs / any.doc next >
Encoding:
Text File  |  1996-01-25  |  1.1 KB  |  33 lines

  1. -- Universal features.
  2. -- Every class inherit from ANY.
  3. class interface ANY
  4. exported features
  5.   is_equal, frozen standard_is_equal (other:like Current):BOOLEAN
  6.     -- Is 'other' attached to an object identical field by field to current object?
  7.   copy, frozen standard_copy (other:like Current)
  8.     -- Copy all fields of 'other' to corresponding fields of current object.
  9.   lastchar:CHARACTER
  10.     -- Last character read by 'readchar'.
  11.   lastint:INTEGER
  12.     -- Last integer read by 'readint'.
  13.   laststring:STRING
  14.     -- Last string read by 'readstring'.
  15.   new_line
  16.     -- Write line feed at end of default output.
  17.   putchar(c:CHARACTER)
  18.     -- Write 'c' at end of default output.
  19.   putint(i:INTEGER)
  20.     -- Write 'i' at end of default output.
  21.   putstring(s:STRING)
  22.     -- Write 's' at end of default output.
  23.   readchar
  24.     -- Read a new character from standard input.
  25.   readint
  26.     -- Read a new integer from standard input.
  27.   readstring
  28.     -- Read a new string from standard input.
  29.   bit_size:INTEGER
  30.     -- Bit number used to store current object.
  31. end interface -- class 'ANY'
  32.  
  33.